package cn.yh.nft.turbo.base.utils;

import com.google.common.base.CaseFormat;

/**
 * @ClassName: BeanNameUtils
 * @Author: 草莓爱上啵啵
 */
public class BeanNameUtils {

    public static String getBeanName(String  strategyName, String serviceName){
        //将服务转换成小写开头的驼峰形式，如A_BCD 转成aBcd
        return CaseFormat.UPPER_UNDERSCORE.converterTo(CaseFormat.LOWER_CAMEL).convert(strategyName) +serviceName;

    }
}
